<div class="dialog-container mdd-dialog mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog A07_AccList-dialog c-mdd-page" ng-init="dialog.init();" style="background-color: #fafafa" page-type="Dialog" _transclude-elem="[object Object]">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="dialog._title | translate"></div>
        <!--More Menu-->

        <!--Close button-->
        <div class="kmi-side-btn right" ng-click="dialog.hide();">
            <img src="image/icons/clear.png" />
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content" style="flex: 1">
        <!--Page-->
        <div class="kmi-layout-page">
            <div class="mdd-layout c-mdd-layout" layout-name="A07_AccList" page-name="" page-type="Dialog" with-toolbar="N" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(2, auto 1fr)">
                <div class="mdd-list c-mdd-list" ng-show="dialog._event['product_acc_detail'].isShown != 'N'" style="height:{{dialog._event['A07_AccList'].GetfillHeight()}};grid-column-start:span 4;" list-name="A07_AccList_product_acc_detail" list-bind="dialog.product_acc_detail" list-alias="dialog.product_acc_detail" enable-select="N" select-all="N" page-name="" page-type="Dialog" _transclude-elem="[object Object]">
                    <div class="kmi-list column-selector" kmi-scrollbar="360px" column-selector-id="A07_AccList_product_acc_detail" style="flex: 1">
                        <div class="kmi-list__header">
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.product_acc_detail.accessory_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objproduct_acc_detail.header[0].isFilter">
                                    <input ng-model="dialog._objproduct_acc_detail.filterColumns['accessory_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objproduct_acc_detail.header[0].isFilter = false;dialog._objproduct_acc_detail.filterColumns['accessory_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objproduct_acc_detail.header[0].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objproduct_acc_detail.header[0].isFilter = true">search</i>
                                    <label ng-bind="'A07_AccList_product_acc_detail.columns.accessory_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objproduct_acc_detail.queryOrder == 0">{{!dialog._objproduct_acc_detail.header[0].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(0, 'accessory_no', 'dialog._objproduct_acc_detail');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.product_acc_detail.accessory_type'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objproduct_acc_detail.header[1].isFilter">
                                    <input ng-model="dialog._objproduct_acc_detail.filterColumns['accessory_type']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objproduct_acc_detail.header[1].isFilter = false;dialog._objproduct_acc_detail.filterColumns['accessory_type'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objproduct_acc_detail.header[1].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objproduct_acc_detail.header[1].isFilter = true">search</i>
                                    <label ng-bind="'A07_AccList_product_acc_detail.columns.accessory_type' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objproduct_acc_detail.queryOrder == 1">{{!dialog._objproduct_acc_detail.header[1].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(1, 'accessory_type', 'dialog._objproduct_acc_detail');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.product_acc_detail.accessory_category'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objproduct_acc_detail.header[2].isFilter">
                                    <input ng-model="dialog._objproduct_acc_detail.filterColumns['accessory_category']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objproduct_acc_detail.header[2].isFilter = false;dialog._objproduct_acc_detail.filterColumns['accessory_category'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objproduct_acc_detail.header[2].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objproduct_acc_detail.header[2].isFilter = true">search</i>
                                    <label ng-bind="'A07_AccList_product_acc_detail.columns.accessory_category' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objproduct_acc_detail.queryOrder == 2">{{!dialog._objproduct_acc_detail.header[2].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(2, 'accessory_category', 'dialog._objproduct_acc_detail');"></div>
                                </div>
                            </div>
                        </div>
                        <div class="kmi-list__row-content">
                            <div class="kmi-list__row" id="A07_AccList_product_acc_detail_result_list" ng-repeat="item in dialog._event['dialog.product_acc_detail'].getPages(dialog.product_acc_detail, dialog._objproduct_acc_detail.PageConfig, dialog._objproduct_acc_detail.filterColumns, dialog._objproduct_acc_detail.header[dialog._objproduct_acc_detail.queryOrder]) track by $index" ng-class="{'is-select':dialog._event['dialog.product_acc_detail'].checkSelect(item, {index:$index, event:$event})}">
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.product_acc_detail.accessory_no'].isShown != 'N'">{{item.accessory_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.product_acc_detail.accessory_type'].isShown != 'N'">{{item.accessory_type}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.product_acc_detail.accessory_category'].isShown != 'N'">{{item.accessory_category}}</div>
                                <div class="kmi-can-click" ng-click="dialog._event['dialog.product_acc_detail'].rowClick(item, {index:$index, event:$event});"></div>
                            </div>
                        </div>
                    </div>
                    <div class="page-content">
                        <div class="page-icon">
                            <img src="image/icons/dropleft.png" />
                            <div class="kmi-can-click" ng-click="dialog.prevPage(dialog._objproduct_acc_detail.PageConfig);"></div>
                        </div>
                        <label ng-bind="dialog.pageInfo(dialog._objproduct_acc_detail.PageConfig);"></label>
                        <div class="page-icon">
                            <img src="image/icons/dropright.png" />
                            <div class="kmi-can-click" ng-click="dialog.nextPage(dialog._objproduct_acc_detail.PageConfig);"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
